-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3130 site bug issue with the page self hostedlatestbackup and restore #3626
3130 site bug issue with the page self hostedlatestbackup and restore #3626
Conversation
Allow 10 minutes from last push for the staging site to build. If the link doesn't work, try using incognito mode instead. For internal reviewers, check web-documentation repo actions for staging build status. Link to build for this PR: http://docs-dev.timescale.com/docs-3130-site-bug-issue-with-the-page-self-hostedlatestbackup-and-restore |
…tedlatestbackup-and-restore
(I come from #3130.) This looks good to me. Thanks. The article finishes by noting the following.
However, it does not explain how restore a dump from (I had wondered this myself about a week ago, and had come to the conclusion that it is easier to dump each database independently when using logical backups.) |
…tedlatestbackup-and-restore
1. Back up the hypertable schema: | ||
|
||
```bash | ||
pg_dump -s -d $SOURCE --table conditions -N _timescaledb_internal | \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't' t understand the reason for adding -N _timescaledb_internal | grep -v _timescaledb_internal
. Since we recommend creating hypertable on target again, we don't really need to dump the schema of chunks from _timescaledb_internal
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-), i would never have got that one. Removed.
- Install the PostgreSQL client tools on your migration machine. | ||
|
||
This includes `psql`, and `pg_dump`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An extra line seems odd
- Install the PostgreSQL client tools on your migration machine. | |
This includes `psql`, and `pg_dump`. | |
- Install the PostgreSQL client tools — `psql`, and `pg_dump`, on your migration machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, updated.
You backup and restore an entire database using `pg_dump` and `psql`. in Terminal: | ||
|
||
<Procedure> | ||
|
||
In Terminal: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"In terminal" is repeated. Also, let's use keep "terminal" lower case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dearie me, thank you. Updated.
Co-authored-by: Arunprasad Rajkumar <[email protected]> Signed-off-by: Iain Cox <[email protected]>
…tedlatestbackup-and-restore
…tedlatestbackup-and-restore
…tedlatestbackup-and-restore
No description provided.